/**
 * FormTypeController
 * 
 * @description :: Server-side logic for managing Formtypes
 * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers
 */

module.exports = {

	list : function(req, res) {

		var query = FormType.find();
		query.sort('updatedAt DESC');
		query.exec(function findCB(err, found) {
			
			return res.view('forms/form-type', {
				types : found,
			});
			
		});

		
	},

};
